<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@page import="java.util.List"%>
    <%@page import="com.wanmait.shoppingsys.vo.Admin"%>
<!DOCTYPE html>
<html>
<section>
		<h2>修改信息</h2>
		<%
		Admin admin = (Admin)request.getAttribute("admin");
		%>
		<form action="/ShoppingSys/AdminController?action=save" method="post">
		<input type="hidden" name="id" value="<%=admin.getId()%>">
		<fieldset>
			<label>姓名</label>
			<input type="text" name="realname" value="<%=admin.getRealName()%>">
			</fieldset>
			<fieldset>
				<label>登录名</label>
				<input type="text" name="name" value="<%=admin.getName()%>">
			</fieldset>
			<fieldset>
				<label>密码</label>
				<input type="text" name="pass" value="<%=admin.getPass()%>">
			</fieldset>
			<fieldset>
				<input type="submit" value="提交">
			</fieldset>
		</form>
			
	</section>
